package 设计模式.builder.demo02;

public class Test {
    public static void main(String[] args) {
        //服务员
        Worker worker=new Worker();
        //链式编程：在原来基础上自由组合，不组合也有默认的套餐
        Product product = worker.builderA("全家桶").getProduct();
        System.out.println(product.toString());
    }
}
